From c1151d42695486da191f7ec80e8d0784e9fd521f Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 9 Dec 2016 12:07:31 +0100 Subject: [PATCH] x86emul/test: avoid meaningless output Unconditionally reporting a skipped test in 64-bit builds is not very useful, especially when quite a few more tests are about to be added. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- tools/tests/x86_emulator/test_x86_emulator.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/tests/x86_emulator/test_x86_emulator.c b/tools/tests/x86_emulator/test_x86_emulator.c index aeac53b56a..8d9679ffab 100644 --- a/tools/tests/x86_emulator/test_x86_emulator.c +++ b/tools/tests/x86_emulator/test_x86_emulator.c @@ -613,8 +613,8 @@ int main(int argc, char **argv) goto fail; printf("okay\n"); - printf("%-40s", "Testing daa/das (all inputs)..."); #ifndef __x86_64__ + printf("%-40s", "Testing daa/das (all inputs)..."); /* Bits 0-7: AL; Bit 8: EFLG_AF; Bit 9: EFLG_CF; Bit 10: DAA vs. DAS. */ for ( i = 0; i < 0x800; i++ ) { @@ -679,9 +679,7 @@ int main(int argc, char **argv) } } printf("okay\n"); -#else - printf("skipped\n"); - +#else /* x86-64 */ printf("%-40s", "Testing cmovz %ecx,%eax..."); instr[0] = 0x0f; instr[1] = 0x44; instr[2] = 0xc1; regs.eflags = 0x200; -- 2.30.2